package adke.managers;

import adke.Util;
import java.io.File;

// beheert spelernamen

// genereert bad-add 'random' namen

// het zou awesome zijn als je deze kon uitbreiden met een custom lijst van de harde schijf

public class NameManager
{
    // lijstje met naamdelen
    
    // waardeoordelen
    private static String[] part1 = new String[]
    {
        "Bad-ass", "Awesome", "Wicked", "Crooked", "Master", "Super", "Ultra", "Immense",
        "Devilish", "Sticky", "Enemy", "Giant", "Mediocre", "Average", "Superb", "Gaming",
        "Big", "Lolling", "Great", "Ultimate", "Primal", "Brute", "Wrecking", "Venomous",
        "Destructing", "Powerful", "Fast", "Lightning-fast", "Blazingly-fast", "Cute",
        "Rotten", "Apocalyptic", "Godly", "Impish", "Elvish", "Sneaky", "Christian", "Faithful",
        "Rocking", "Astronaut", "Smashing", "Undead", "Frighting", "Heroic", "Hairy", "Bold",
        "Cooking", "Long-haired", "Tiny"
    };
    
    // begrippen
    private static String[] part2 = new String[]
    {
        "Destroyer", "Killer", "Blaster", "Rider", "Speeder", "Sticky", "Bob", "Vincent",
        "Bèta", "Alpha", "Gamma", "Tron", "Vegeta", "Grandma", "Thor", "Ares", "Mars", "Gwen",
        "Lolcat", "Loller", "Brutus", "Brute", "'W'", "Wilbert", "Wrecker", "Punisher", "Venom",
        "Destructor", "Lightning", "Pikachu", "Cuty", "Apocalyptor", "Sayan", "Jezus", "God",
        "Horseman", "Pigman", "Wormman", "Worm", "Elvis", "Serpant", "Reptilian", "Rock", "Metal",
        "Singer-songwriter", "Rapper", "Swordsman", "Defender", "Hero", "Guitar-Hero", "Smasher",
        "Mage", "Druid", "Elf", "Man", "Dude", "Guy", "Fish", "Frodo", "Ninja", "Twix", "Bear"
    };
    
    public NameManager()
    {
    }
    
    public static void addPseudos(File expansion)
    {
        
    }
    
    public static void addPseudos(String[] expansion)
    {
        
    }
    
    public static String generatePlayerName()
    {
        // maak een random getal tussen 0 en het aantal namen in de lijst
        // en selecteer van uti bijde dus willekeurig een deel
        String p1 = part1[Util.random(part1.length)];
        String p2 = part2[Util.random(part2.length)];
        String name = p1 + " " + p2;
        System.out.println("Player name generated: " + name);
        return name;
    }
}
